<template>
	<view class="">
		<view class="resume_basics" @click="GoBasics">
			<view class="resume_basics_left">
					<view class="basics_name"  >
						{{basicsData.xm || '姓名'}}<u-icon :name="basicsData.xb[0].name" color="#fff" size="35" :style="basicsData.xb[0].colorStyle" v-if="basicsData.xb.length"></u-icon>
					</view>
					<view class="basics_work_time">
						四年经验 · 25岁 · 南阳
					</view>
					<view class="basics_phone">
						电话：{{basicsData.lxdh||'暂无电话'}}
					</view>
					<view class="basics_email">
						邮箱：1388888888@qq.com
					</view>
			</view>
			<view class="resume_basics_right">
				<image :src="basicsData.tx" mode=""></image>
			</view>
		</view>
	</view>
</template>
<script>
	export default {
		data() {
			return {
				
			}
		},
		props: {
			basicsData: {
				type: Object,
				default () {
					return {}
				}
			}
		},
		methods: {
			GoBasics(){
				this.$u.route('/pages/HomeLnner/ResumeSon/SonBasics',{
					id: this.basicsData.id
				});
			}
		}
	}
</script>

<style scoped lang="scss">
	.resume_basics{
		display: flex;
		justify-content: space-between;
		margin-top: 30rpx;
		padding: 30rpx;
		background: #fff;
		border-radius: 10rpx;
		.resume_basics_left{
			.basics_name{
				font-size: 40rpx;
				font-weight: bold;
				color: #3E403F;
				margin-bottom: 15rpx;
				/deep/.u-icon{
					padding: 5rpx;
					border-radius: 50%;
				}
			}
			.basics_work_time{
				font-size: 22rpx;
				color: #949997;
			}
			.basics_phone{
				font-size: 30rpx;
				color: #3E403F;
				margin: 35rpx 0 15rpx 0;
			}
			.basics_email{
				font-size: 30rpx;
				color: #3E403F;
			}
		}
		.resume_basics_right{
			width: 113rpx;
			height: 140rpx;
			border-radius: 10rpx;
			background-color: #18B566;
			overflow: hidden;
			image{
				width: 100%;
				height: 100%;
			}
		}
	}
</style>
